<template>
  <div class="role-management-container">
    <h1>角色管理</h1>
    <el-table :data="roles" style="width: 100%">
      <el-table-column prop="name" label="角色名称" width="180"></el-table-column>
      <el-table-column prop="description" label="描述"></el-table-column>
    </el-table>
  </div>
</template>

<script setup>
import { ref } from 'vue';

const roles = ref([
  { name: '管理员', description: '拥有所有权限' },
  { name: '用户', description: '普通用户权限' },
]);
</script>

<style scoped>
.role-management-container {
  padding: 20px;
}
</style>
